﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Login.ascx.cs" Inherits="UserControl_Login" %>
<script type="text/javascript">
    function LoginFun() {
        var tel = document.getElementById('telTxt').value;
        $.ajax({
            type: 'POST',
            url: '<%=ResolveUrl("~/ajax/LoginAjax.aspx")%>',
            data: 'tel=' + tel,
            success: function (msg) {
                if (msg != "true") {
                    document.getElementById("alertMsg").innerHTML = msg;
                }
                else {
                    document.location.reload();
                }
            }
        });
    }
</script>
 <div id="login2">
	<h5>提示：请先登陆本站。</h5>
	<div class="line3">&nbsp;</div>
	<p class="telfont">手机号码:<input type="text" name="telTxt" id="telTxt"/><span id="alertMsg">请填写您当时注册的手机号</span></p>
	<p class="btnLogin2"><img id="" src="/images/btn-login-2.jpg" onclick="LoginFun()"/></p>
	<p class="loginInfo">如果您还没有注册本网站，<a href="#">点击这里注册</a></p>
	<p class="loginInfo2">注册后您可以查看更多产品信息。</p>
	<a class="close">X</a>
</div>
<div class="black_overlay"></div>